package com.example.hudongwx.myclass0719application.Json;

import org.xutils.http.app.ResponseParser;
import org.xutils.http.request.UriRequest;

import java.lang.reflect.Type;

/**
 * Created by hudongwx on 16-10-26.
 */

public class MyResponseParser implements ResponseParser {
    @Override
    public void checkResponse(UriRequest request) throws Throwable {

    }

    @Override
    public Object parse(Type resultType, Class<?> resultClass, String result) throws Throwable {


        return   new MyJsonObj(result);
    }
}
